/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chameleon.view.command;

import chameleon.model.NuGatManager.NuGatManager;
import chameleon.view.input.Input;

/**
 *
 * @author simon
 */
public class AddNewVariableCommand extends Command {
    
    public AddNewVariableCommand(Input input, boolean help, String name){
        super(input, false, help);
    }

    @Override
    public Input execute() {
        NuGatManager manager = (NuGatManager) input_.getManager();
        
        manager.addIntVariable(1, "testVariables", 0, 1);
        
        return input_;
    }
    
}
